﻿//2020-10-5
//这是一个delegate容器
//wng0@sina.com
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class DelegateManager : MonoBehaviour 
{
	public 	static DelegateManager Instance;
	private void Awake()	{		Instance = this;	}
	//public 	Action<ButtonRow> ClickButtonRow;
	//public 	Action<ButtonRow> HoverButtonRow;
	//public 	Action<ButtonRow> ExitButtonRow;
	public 	Action<string> BeforeSceneUnload;//退出某场景需要执行的函数
	public 	Action<string> AfterSceneLoad;//进入某场景需要执行的函数
	//public 	Action<ButtonRow, int> ConfirmNumberPanel;
	//public 	Action<ButtonRow> SetFocus;
	//public 	Action<Content> UpdateContent;//更新完容器之后,重新计算弹药数量;
	public Action ClickGround; //点击地面需要执行的函数

}
